#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

void init(char *arr,int a)
{
	int i = 0;
	for (i = 0;i < a;i++)
	{
		*(arr+i)= 0;
	}
}
void print(char *arr, int a)
{
	int i = 0;
	for (i = 0;i < a;i++)
	{
		printf("%c ", *(arr+i));
	}

}
void reserve(char* arr)
{
	char* left = arr;
	char* right = arr + strlen(arr) - 1;
	while (left < right)
	{
		char tmp = *left;
		*left = *right;
		*right = tmp;
		left++;
		right--;
	}


}